projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f684d
)
fec_mxc don't use internal eeprom on MX25
author
John Rigby
<
[email protected]
>
Thu, 8 Apr 2010 05:29:40 +0000
(23:29 -0600)
committer
Ben Warren
<
[email protected]
>
Mon, 3 May 2010 21:52:48 +0000
(14:52 -0700)
Avoid using the internal eeprom on MX25 like MX51 already does.
Signed-off-by: John Rigby <
[email protected]
>
Signed-off-by: Ben Warren <
[email protected]
>
drivers/net/fec_mxc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fec_mxc.c
b/drivers/net/fec_mxc.c
index 8c4ade5ab5b3cfc11faea668b7b57230391a1919..fdc288c63a70ad4903d0e248f09efa5048fe459c 100644
(file)
--- a/
drivers/net/fec_mxc.c
+++ b/
drivers/net/fec_mxc.c
@@
-314,9
+314,9
@@
static int fec_get_hwaddr(struct eth_device *dev, unsigned char *mac)
{
/*
* The MX27 can store the mac address in internal eeprom
- * This mechanism is not supported now by MX51
+ * This mechanism is not supported now by MX51
or MX25
*/
-#if
def CONFIG_MX51
+#if
defined(CONFIG_MX51) || defined(CONFIG_MX25)
return -1;
#else
struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;